package com.hnhcyy.goods.pojo;

import java.util.List;

import com.hnhcyy.b2b.common.model.QueryParam;

import io.swagger.annotations.ApiParam;

/**
 * 商品查询条件
 * @author gesh  
 * @date 2019年2月15日
 */
public class GoodsAdminQueryParam extends QueryParam{
	
	/**
	 * 商品ID集合
	 */
	@ApiParam(value = "商品ID集合", required = false)
	private List<String> spidList;
	
	/**
	 * 商品ID
	 */
	@ApiParam(value = "商品ID", required = false)
	private String spid;
	
	/**
	 * 商品名称
	 */
	@ApiParam(value = "商品名", required = false)
	private String spmch;
	
	/**
	 * 生产厂家
	 */
	@ApiParam(value = "生产厂家", required = false)
	private String shpchd;
	
	/**
	 * 是否上架
	 */
	@ApiParam(value = "是否上架", required = false)
	private Boolean isvisible;
	
	/**
	 * 商品类别
	 */
	@ApiParam(value = "商品类别", required = false)
	private Integer flbid;
	
	/**
	 * 客户ID
	 */
	@ApiParam(value = "单位ID", required = true)
	private String dwbh;
	
	/**
	 * 商家ID
	 */
	@ApiParam(value = "商家ID", required = true)
	private Integer sjid;
	
	/**
	 * 区域ID
	 */
	@ApiParam(hidden = true)
	private Integer qyid;
	
	/**
	 * 是否只卖指定品种
	 */
	@ApiParam(value = "是否指定品种（老客户）", required = true)
	private Boolean appointGoods = false;
	
	/**
	 * 是否即将涨价
	 */
	@ApiParam(value = "是否即将涨价", required = false)
	private Boolean isRisePrice = false;

	public List<String> getSpidList() {
		return spidList;
	}

	public void setSpidList(List<String> spidList) {
		this.spidList = spidList;
	}
	
	public String getSpid() {
		return spid;
	}

	public void setSpid(String spid) {
		this.spid = spid;
	}
	
	public String getSpmch() {
		return spmch;
	}

	public void setSpmch(String spmch) {
		this.spmch = spmch;
	}

	public String getShpchd() {
		return shpchd;
	}

	public void setShpchd(String shpchd) {
		this.shpchd = shpchd;
	}

	public Boolean getIsvisible() {
		return isvisible;
	}

	public void setIsvisible(Boolean isvisible) {
		this.isvisible = isvisible;
	}

	public Integer getFlbid() {
		return flbid;
	}

	public void setFlbid(Integer flbid) {
		this.flbid = flbid;
	}

	public String getDwbh() {
		return dwbh;
	}

	public void setDwbh(String dwbh) {
		this.dwbh = dwbh;
	}

	public Integer getSjid() {
		return sjid;
	}

	public void setSjid(Integer sjid) {
		this.sjid = sjid;
	}

	public Boolean getAppointGoods() {
		return appointGoods;
	}

	public void setAppointGoods(Boolean appointGoods) {
		this.appointGoods = appointGoods;
	}

	public Integer getQyid() {
		return qyid;
	}

	public void setQyid(Integer qyid) {
		this.qyid = qyid;
	}

	public Boolean getIsRisePrice() {
		return isRisePrice;
	}

	public void setIsRisePrice(Boolean isRisePrice) {
		this.isRisePrice = isRisePrice;
	}

	@Override
	public String toString() {
		return "GoodsAdminQueryParam [spidList=" + spidList + ", spid=" + spid + ", spmch=" + spmch + ", shpchd="
				+ shpchd + ", isvisible=" + isvisible + ", flbid=" + flbid + ", dwbh=" + dwbh + ", sjid=" + sjid
				+ ", qyid=" + qyid + ", appointGoods=" + appointGoods + ", isRisePrice=" + isRisePrice + "]";
	}

	

}
